

<#assign module="rentnotice"/>
<@override name="header">
    <script src="${ctx}/assets/js/jquery-1.9.1.min.js"></script>
    <script>
        window.data={id:${id}}
    </script>
    <script src="${ctx}/assets/js/rent/plupload.full.min.js"></script>
    <script src="${ctx}/assets/js/rent/RvaKvaModule.js"></script>
    <script src="${ctx}/assets/js/rent/region_select.js"></script>
    <script src="${ctx}/assets/js/rentshop/updaterentshop.js"></script>
    <link href="${ctx}/assets/css/rent/rent.css" rel="stylesheet">
    <link href="${ctx}/assets/css/rentshop/updaterentshop.css" rel="stylesheet">
</@override>
<@override name="body">
<div class="CustomNavigationTag CustomClear">
    <span class="CustomNavigationTagText">当前位置：</span>
    <ul class="CustomNavigationTagUl CustomClear">
      <li class=''><a href="${ctx}/rentshop/rentshoplist">门店管理</a><span class="fen">/</span></li>
      <li class='Ac'><a href="${ctx}/rentshop/updaterentshop?id=${id}">编辑门店</a></li>
    </ul>
</div>

 <div class="AddStore">
    <div class="Top">
        <div class="Title">
              上传门店图片 <em>提示：建议图片尺寸360px*240px, 图片大小1M，图片最多10张</em>
        </div>
        <div class="Content">
            <div class="Action CustomClear">
                <!--<input id="fileToUpload" type="file"  multiple="fileToUpload" name="pic1">-->

            <!--　　<div id="prvid">预览容器</div>-->
                <!--<button id="querenButton">确认</button>-->
            </div>

        </div>

    </div>
    <div class="Mid">
        <div class="Title">
            添加/编辑分店信息
        </div>
        <div class="Content CustomClear">
            <div class="Left">
                <div id="StoreMap">

                </div>
            </div>
            <div class="Right">
                <div class="form-group">
                    <label><em>*</em>所属公司：</label>
                    <div class="SubordinateCompany"></div>
                </div>
                <div class="form-group">
                    <label>门<em>*</em>店名称：</label>
                    <input type="text" class="form-control shopName" placeholder="请输入门店名称">
                </div>
                <div class="form-group">
                    <label><em>*</em>省：</label>
                    <div class="Subordinate">
                        <select class="provincial" name="provincial" id="provincial"></select>
                    </div>
                </div>
                <div class="form-group">
                    <label><em>*</em>市：</label>
                    <div class="Subordinate">
                        <select class="city" name="city" id="city">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label><em>*</em>区：</label>
                    <div class="Subordinate">
                        <select class="county" name="county" id="county">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label><em>*</em>详细地址：</label>
                    <input name="site" type="text" class="form-control address" placeholder="请输入详细地址" id="street">
                </div>
                <div class="form-group">
                    <label><em>*</em>经度：</label>
                    <div class="form-control longitude">
                    </div>
                </div>
                <div class="form-group">
                    <label><em>*</em>纬度：</label>
                    <div class="form-control latitude">
                    </div>
                </div>
                <div class="form-group">
                    <label><em>*</em>可配送范围：</label>
                    <input type="number" class="form-control serviceRange" placeholder="请输入可送范围">
                     <span class="trail">公里</span>
                </div>
                <div class="form-group">
                    <label><em>*</em>联系人：</label>
                    <input type="text" class="form-control contacts" placeholder="请输入联系人">
                </div>
              <div class="form-group">
                     <label><em>*</em>联系电话：</label>
                     <input type="text" class="form-control phone" placeholder="请输入联系电话：（例：12345678912）">
                 </div>
                 <div class="form-group">
                     <label>座机：</label>
                     <input type="text" class="form-control telephone" placeholder="请输入座机号：（例：028-82765487）">
                 </div>
                 <div class="form-group">
                     <label>电子邮件：</label>
                     <input type="text" class="form-control email" placeholder="请输入电子邮件：（例：123654895@qq.com）">
                 </div>
                <div class="form-group CustomClear">
                    <label>备注：</label>
                    <textarea  class="form-control memo" placeholder="请输入备注" ></textarea>
                </div>
            </div>
        </div>


    </div>
    <div class="ActionMd">
        <div class="button OK">保存</div>
        <div class="button Cancel">取消</div>
    </div>
</div>

</@override>
<@override name="footer">
<script type="text/javascript">
  var isMainCompany=false;
  var fileUploadUrl = "${fileUploadUrl}";
 <@shiro.isMainCompany>
      isMainCompany=true;
 </@shiro.isMainCompany>
</script>
<script src="${ctx}/assets/js/bootstrap-datetimepicker.min.js"></script>
<script src="${ctx}/assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="${ctx}/assets/js/fileinput.js" type="text/javascript"></script>
<script src="${ctx}/assets/js/fileinput_locale_zh.js" type="text/javascript"></script>
<script src="${ctx}/assets/js/jquery.autocomplete.min.js"></script>
<script src="${ctx}/assets/js/jquery.paging.min.js"></script>
<script type="text/javascript">
</script>
</@override>
<@extends name="../layout.ftl"/>